package com.aps.service.rep;

import org.springframework.data.jpa.repository.JpaRepository;

import com.aps.entity.domain.dish.DishTypeSeq;

import java.util.List;

/**
 * @author liaoguangan
 * @description <>
 * @date 2018/4/2 12:01
 */
public interface DishTypeSeqRep extends JpaRepository<DishTypeSeq, String> {

    DishTypeSeq findByCode(String typeCode);

    List<DishTypeSeq> findAllByOrderBySequenceAsc();
}
